package Model;

/**
 * Created by wulf on 23.10.2014.
 */
public class Score implements Comparable<Score> {
    public String Name;
    public String Value;

    public Score(){}

    public Score(String name, String value){
        Name = name;
        Value = value;
    }

    @Override
    public int compareTo(Score score) {
        return Integer.valueOf(this.Value).compareTo(Integer.valueOf(score.Value));
    }
}
